package com.mew.common.entity.record;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author SK123
 * @since 2020-11-20
 */
@TableName("r_gold_record")
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GoldRecord {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 来自哪个用户
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 1, 背包转银行， 2，银行转背包， 3， 签到
     */
    @TableField("process_type")
    private Integer processType;
    /**
     * 金额
     */
    @TableField("process_number")
    private Long processNumber;

    /**
     * 赠送者背包(转账后)
     */
    @TableField("gold_number")
    private Long goldNumber;


    @TableField("add_time")
    private Date addTime;

    @TableField(exist = false)
    private String processStr;

    @TableField(exist = false)
    private String gid;

    @TableField("add_ip")
    private String addIp;

    @TableField("manager")
    private String manager;

    @TableField("remark")
    private String remark;

}
